package com.yingsheng.bi.hks.basic.enums;

/**
 * 枚举常量
 */
public class EnumConst {

    /**
     * 状态
     */
    public static final class State {
        /**
         * 正常状态
         */
        public static final String A = "A";
        /**
         * 失效状态
         */
        public static final String I = "I";
    }

    /**
     * 用户类型
     */
    public static final class UserType {
        /**
         * 个人用户
         */
        public static final String P = "P";
        /**
         * 管理端用户
         */
        public static final String M = "M";
    }

    /**
     * 性别
     */
    public static final class Gender {
        /**
         * 女性
         */
        public static final String F = "F";
        /**
         * 男性
         */
        public static final String M = "M";
    }

    /**
     * 角色
     */
    public static final class Role {
        /**
         * 个人注册用户
         */
        public static final String P01 = "P01";
        /**
         * 个人实名用户
         */
        public static final String P02 = "P02";
        /**
         * 员工
         */
        public static final String P03 = "P03";
        /**
         * 自助实名
         */
        public static final String P04 = "P04";
    }

    /**
     * 角色类型
     */
    public static final class RoleType {
        /**
         * 家政服务
         */
        public static final String JZFW = "JZFW";
    }

    /**
     * 默认标识
     */
    public static final class DefaultFlag {
        /**
         * 整数类型默认标识-默认
         */
        public static final int FLAG_INT_0 = 0;
        /**
         * 整数类型默认标识-非默认
         */
        public static final int FLAG_INT_1 = 1;
        /**
         * 字符类型默认标识-默认
         */
        public static final String FLAG_STR_0 = "0";
        /**
         * 字符类型默认标识-非默认
         */
        public static final String FLAG_STR_1 = "1";

    }

    /**
     * 工单标识
     */
    public static final class JobFlag {
        /**
         * 发布
         */
        public static final String JOB_FLAG_0 = "0";
        /**
         * 关闭
         */
        public static final String JOB_FLAG_1 = "1";

    }

    /**
     * 性别
     */
    public static final class SexFlag {
        /**
         * 男
         */
        public static final String SEX_FLAG_M = "M";
        /**
         * 女
         */
        public static final String SEX_FLAG_F = "F";
    }

    /**
     * 工单申请标识
     */
    public static final class JobApplyFlag {
        /**
         * 提交
         */
        public static final String JOB_APPLY_FLAG_0 = "0";
        /**
         * 撤销
         */
        public static final String JOB_APPLY_FLAG_1 = "1";
        /**
         * 待面试
         */
        public static final String JOB_APPLY_FLAG_2 = "2";
        /**
         * 面试通过
         */
        public static final String JOB_APPLY_FLAG_3 = "3";
        /**
         * 面试不通过
         */
        public static final String JOB_APPLY_FLAG_4 = "4";

    }

    /**
     * 商品状态
     */
    public static final class GoodsState {
        /**
         * 下架
         */
        public static final String GoodsState_0 = "0";
        /**
         * 上架
         */
        public static final String GoodsState_1 = "1";
        /**
         * 售罄
         */
        public static final String GoodsState_2 = "2";
    }

    /**
     * 合同模版类型
     */
    public static final class ContractType {
        /**
         * 欣佳源家政管理制合同
         */
        public static final String CONTRACT_TYPE_0 = "0";
    }

    /**
     * 合同状态
     */
    public static final class ContractState {
        /**
         * 合同状态-未签约，签约中
         */
        public static final String CONTRACT_STATE_0 = "0";
        /**
         * 合同状态-已签约
         */
        public static final String CONTRACT_STATE_2 = "2";
    }

    /**
     * 合同状态
     */
    public static final class ContractQYSState {

        /**
         * 合同状态-草稿
         */
        public static final String DRAFT = "DRAFT";
        /**
         * 合同状态-签署中
         */
        public static final String SIGNING = "SIGNING";
        /**
         * 合同状态-已完成
         */
        public static final String COMPLETE = "COMPLETE";

    }

    /**
     * 微信订单状态
     */
    public static final class WxOrderState {
        /**
         * 支付成功
         */
        public static final String SUCCESS = "SUCCESS";
        /**
         * 转入退款
         */
        public static final String REFUND = "REFUND";
        /**
         * 未支付
         */
        public static final String NOTPAY = "NOTPAY";
        /**
         * 已关闭
         */
        public static final String CLOSED = "CLOSED";
        /**
         * 已撤销（仅付款码支付会返回）
         */
        public static final String REVOKED = "REVOKED";
        /**
         * 用户支付中（仅付款码支付会返回）
         */
        public static final String USERPAYING = "USERPAYING";
        /**
         * 支付失败（仅付款码支付会返回）
         */
        public static final String PAYERROR = "PAYERROR";

    }

    /**
     * 微信订单状态
     */
    public static final class GoodsOrderState {
        /**
         * 交易成功
         */
        public static final String state_0 = "0";

        /**
         * 交易失败
         */
        public static final String state_1 = "1";

        /**
         * 交易处理中
         */
        public static final String state_6 = "6";
    }
}
